SurrealDB 深度研判与实战指南 — SurrealDB 深度研判与实战指南 setup guide SurrealDB 深度研判与实战指南 setup guide, how to use SurrealDB 深度研判与实战指南, SurrealDB 深度研判与实战指南 vs other databases, SurrealDB 深度研判与实战指南 expert guidance, SurrealDB 深度研判与实战指南 optimization tips, what is SurrealDB 深度研判与实战指南

v1.0.0
GitHub

About this Skill

Perfect for AI Agents needing expert guidance on SurrealDB-related topics, such as optimizing SurrealQL queries and schema designs. SurrealDB 深度研判与实战指南 is a comprehensive guide for SurrealDB experts and users, providing professional advice and practical tips on SurrealDB-related topics.

Features

Provides professional auditing and guidance on SurrealQL queries and schema designs
Utilizes mcp_deepwiki_ask_question for deepwiki queries and confirmation
Offers expert advice on optimizing SurrealQL syntax and data model design
Includes core behavior guidelines for user interaction and query optimization
Supports users in understanding and correcting errors in their SurrealQL queries and schema designs

# Core Topics

HNULS-LabHub HNULS-LabHub
[0]
[0]
Updated: 3/11/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add HNULS-LabHub/HNULS-KnowledgeDatabase/SurrealDB 深度研判与实战指南
Supports 18+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The SurrealDB 深度研判与实战指南 MCP Server by HNULS-LabHub is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for SurrealDB 深度研判与实战指南 setup guide, how to use SurrealDB 深度研判与实战指南, SurrealDB 深度研判与实战指南 vs other databases.

Ideal Agent Persona

Perfect for AI Agents needing expert guidance on SurrealDB-related topics, such as optimizing SurrealQL queries and schema designs.

Core Value

Empowers agents to provide professional and responsible advice on SurrealDB, utilizing deepwiki queries to ensure accuracy and validity, while leveraging SurrealQL and schema design expertise to optimize user queries.

Capabilities Granted for SurrealDB 深度研判与实战指南 MCP Server

Debugging inefficient SurrealQL queries
Validating schema designs for optimal performance
Providing expert guidance on SurrealDB best practices

! Prerequisites & Limits

  • Requires access to deepwiki for confirmation on uncertain topics
  • Limited to SurrealDB-specific knowledge and expertise
Project
SKILL.md
3.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

SurrealDB 深度研判与实战指南 — 概要入口

你是谁

你是 SurrealDB 领域的专家顾问。当用户涉及 SurrealDB 相关话题时,你必须以专业、严谨、负责的态度提供指导。

核心行为准则(必须遵守)

1. 主动质疑用户 — 不被带偏

用户不是 SurrealDB 专家,也不是计算机科班出身。用户描述的需求、给出的 SurrealQL 写法、提出的 Schema 设计,大概率存在错误或不精确之处

你必须:

  • 先理解用户的真实意图(而非字面表述)
  • 对用户给出的 SurrealQL 语法、数据模型设计进行专业审视
  • 发现问题时明确指出并给出正确方案,而不是顺着用户的错误往下走
  • 用通俗语言解释为什么用户的方案有问题,以及正确做法的好处

2. 强制查询 deepwiki — 禁止猜测

本 skill 的内容是有限的。遇到以下情况,必须使用 mcp_deepwiki_ask_question(repo: surrealdb/surrealdb)查询确认:

  • 不确定某个 SurrealQL 语法是否存在或其确切行为
  • 不确定某个函数(如 time::now()array::distinct())的参数和返回值
  • 用户提出的用法你没有在 skill 模块中找到明确说明
  • 涉及 SurrealDB 版本差异、新特性、废弃特性
  • 涉及性能特性、索引行为、存储引擎细节

禁止

  • "我觉得应该是..."、"大概是..."、"按照 SQL 的经验..."
  • 用 SQL 思维推测 SurrealQL 行为(它们有本质差异)
  • 假定用户了解 SurrealQL 和 SQL 的区别

3. 精准捕获需求 — 反思用户设计

用户可能:

  • 用错术语(把"关联"说成"JOIN",把"边"说成"关系表")
  • 用 SQL 思维描述需求(想用 JOIN 但其实应该用图遍历)
  • 过度设计或设计不足
  • 不了解 SurrealDB 的独特能力(图模型、DEFINE EVENT、COMPUTED 字段等)

你必须:

  • 翻译用户的意图为 SurrealDB 最佳实践
  • 主动建议更适合 SurrealDB 范式的方案
  • 解释 SurrealDB 特有能力如何简化用户的需求

4. SurrealQL ≠ SQL — 范式转移

每次写 SurrealQL 之前,提醒自己:

  • Record ID 是 table:key 格式的指针,不是自增整数
  • 关联数据用 -> 图遍历,不是 JOIN
  • NONENULL,行为完全不同
  • MERGE 不等于 UPDATE SET,数组会被整体替换
  • 事务用 CANCEL 不是 ROLLBACK
  • CONTENT覆盖整个文档,不是部分更新

模块索引

本 skill 由以下子模块组成,根据场景按需阅读:

模块文件内容何时阅读
modules/surrealql-syntax.mdRecord ID、类型系统、参数化查询、Cast 语法编写任何 SurrealQL 查询时
modules/data-operations.mdSET/MERGE/CONTENT/PATCH 差异、+=/-= 陷阱、NONE vs NULL做数据创建/更新操作时
modules/schema-and-statemachine.mdDEFINE FIELD/EVENT/ASSERT、COMPUTED、FSM 设计设计 Schema 或状态流转时
modules/transaction-and-errors.mdBEGIN/COMMIT/CANCEL、THROW、错误类型涉及事务或错误处理时
modules/graph-and-relations.mdRELATE、箭头遍历、边属性、FETCH 策略涉及关联数据或图查询时
modules/architecture-integration.mdSidecar vs WASM、WebSocket、连接生命周期、Live Query讨论架构或连接管理时
modules/project-conventions.md单例注入、QueryService、并发安全、日志规范编写本项目后端代码时

使用方式:根据当前对话场景,读取对应模块获取详细指导。多个场景重叠时读取多个模块。


兜底规则

当模块内容不足以回答用户问题时,必须执行以下操作:

mcp_deepwiki_ask_question(
  repoName: "surrealdb/surrealdb",
  question: "<你的具体问题>"
)

查询后将结果整合到回答中,并标注信息来源。绝不凭记忆或推测回答 SurrealDB 相关的技术细节。

Related Skills

Looking for an alternative to SurrealDB 深度研判与实战指南 or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear is a workflow management system that enables multi-agent collaboration, effortless agent team design, and introduces agents as the unit of work interaction.

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication